import App from './App'

// #ifndef VUE3
import Vue from 'vue'
// 引入uView组件 官网地址 https://v1.uviewui.com/
import uView from "uview-ui";

import cuView from "./cuview-ui"
Vue.use(cuView);
// 引入vuex仓库
import store from '@/store'
import './uni.promisify.adaptor'

let vuexStore = require("@/store/$u.mixin.js")
Vue.mixin(vuexStore)
Vue.use(uView)

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
  ...App
})

app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif